package com.sykj.cloud.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;

/**
 * 站点 对象 org_site
 *
 * @author mr.will
 * @date 2021-03-24
 */
public class OrgSite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点ID */
    private String guid;

    /** 应用ID */
    @Excel(name = "应用ID")

    private String applicationId;

    /** 组织机构ID */
    @Excel(name = "组织机构ID")

    private String organizationId;

    /** 站点类型 */
    @Excel(name = "站点类型")

    private Integer siteType;

    /** 名称 */
    @Excel(name = "名称")

    private String name;

    /** 简称 */
    @Excel(name = "简称")

    private String shortName;

    /** 排序号 */
    @Excel(name = "排序号")

    private Integer orderSeq;

    /** 域名 */
    @Excel(name = "域名")

    private String domain;

    /** ip地址 */
    @Excel(name = "ip地址")

    private String ipaddr;

    /** 通信端口号 */
    @Excel(name = "通信端口号")

    private String portNumber;

    /** 首页url */
    @Excel(name = "首页url")

    private String masterUrl;

    /** 资源路径 */
    @Excel(name = "资源路径")

    private String resoureceUrl;

    /** 用户数据路径 */
    @Excel(name = "用户数据路径")

    private String userDataUrl;

    /** 是否强制检测版本 */
    @Excel(name = "是否强制检测版本")

    private Integer checkVersion;

    /** 显示列数 */
    @Excel(name = "显示列数")

    private Integer showColumns;

    /** 显示行数 */
    @Excel(name = "显示行数")

    private Integer showRows;

    /** 列表图 */
    @Excel(name = "列表图")

    private String listImage;

    /** 压题图 */
    @Excel(name = "压题图")

    private String faceImage;

    /** 上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 上线人ID */
    @Excel(name = "上线人ID")

    private String publishUserId;

    /** 上线状态 */
    @Excel(name = "上线状态")

    private Integer publishStatus;

    /** 审批状态 */
    @Excel(name = "审批状态")

    private Integer approvedStatus;

    /** 审批人ID */
    @Excel(name = "审批人ID")

    private String approvedUserId;

    /** 审批意见 */
    @Excel(name = "审批意见")

    private String approvedExplain;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvedTime;

    /** 是否有效 */
    @Excel(name = "是否有效")

    private Integer valid;

    /** 是否锁定 */
    @Excel(name = "是否锁定")

    private Integer lock;

    /** 是否删除 */
    @Excel(name = "是否删除")

    private Integer deleted;

    /** 删除人 */
    @Excel(name = "删除人")

    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setApplicationId(String applicationId)
    {
        this.applicationId = applicationId;
    }

    public String getApplicationId()
    {
        return applicationId;
    }
    public void setOrganizationId(String organizationId)
    {
        this.organizationId = organizationId;
    }

    public String getOrganizationId()
    {
        return organizationId;
    }
    public void setSiteType(Integer siteType)
    {
        this.siteType = siteType;
    }

    public Integer getSiteType()
    {
        return siteType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setOrderSeq(Integer orderSeq)
    {
        this.orderSeq = orderSeq;
    }

    public Integer getOrderSeq()
    {
        return orderSeq;
    }
    public void setDomain(String domain)
    {
        this.domain = domain;
    }

    public String getDomain()
    {
        return domain;
    }
    public void setIpaddr(String ipaddr)
    {
        this.ipaddr = ipaddr;
    }

    public String getIpaddr()
    {
        return ipaddr;
    }
    public void setPortNumber(String portNumber)
    {
        this.portNumber = portNumber;
    }

    public String getPortNumber()
    {
        return portNumber;
    }
    public void setMasterUrl(String masterUrl)
    {
        this.masterUrl = masterUrl;
    }

    public String getMasterUrl()
    {
        return masterUrl;
    }
    public void setResoureceUrl(String resoureceUrl)
    {
        this.resoureceUrl = resoureceUrl;
    }

    public String getResoureceUrl()
    {
        return resoureceUrl;
    }
    public void setUserDataUrl(String userDataUrl)
    {
        this.userDataUrl = userDataUrl;
    }

    public String getUserDataUrl()
    {
        return userDataUrl;
    }
    public void setCheckVersion(Integer checkVersion)
    {
        this.checkVersion = checkVersion;
    }

    public Integer getCheckVersion()
    {
        return checkVersion;
    }
    public void setShowColumns(Integer showColumns)
    {
        this.showColumns = showColumns;
    }

    public Integer getShowColumns()
    {
        return showColumns;
    }
    public void setShowRows(Integer showRows)
    {
        this.showRows = showRows;
    }

    public Integer getShowRows()
    {
        return showRows;
    }
    public void setListImage(String listImage)
    {
        this.listImage = listImage;
    }

    public String getListImage()
    {
        return listImage;
    }
    public void setFaceImage(String faceImage)
    {
        this.faceImage = faceImage;
    }

    public String getFaceImage()
    {
        return faceImage;
    }
    public void setPublishDate(Date publishDate)
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate()
    {
        return publishDate;
    }
    public void setPublishUserId(String publishUserId)
    {
        this.publishUserId = publishUserId;
    }

    public String getPublishUserId()
    {
        return publishUserId;
    }
    public void setPublishStatus(Integer publishStatus)
    {
        this.publishStatus = publishStatus;
    }

    public Integer getPublishStatus()
    {
        return publishStatus;
    }
    public void setApprovedStatus(Integer approvedStatus)
    {
        this.approvedStatus = approvedStatus;
    }

    public Integer getApprovedStatus()
    {
        return approvedStatus;
    }
    public void setApprovedUserId(String approvedUserId)
    {
        this.approvedUserId = approvedUserId;
    }

    public String getApprovedUserId()
    {
        return approvedUserId;
    }
    public void setApprovedExplain(String approvedExplain)
    {
        this.approvedExplain = approvedExplain;
    }

    public String getApprovedExplain()
    {
        return approvedExplain;
    }
    public void setApprovedTime(Date approvedTime)
    {
        this.approvedTime = approvedTime;
    }

    public Date getApprovedTime()
    {
        return approvedTime;
    }
    public void setValid(Integer valid)
    {
        this.valid = valid;
    }

    public Integer getValid()
    {
        return valid;
    }
    public void setLock(Integer lock)
    {
        this.lock = lock;
    }

    public Integer getLock()
    {
        return lock;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("applicationId", getApplicationId())
            .append("organizationId", getOrganizationId())
            .append("siteType", getSiteType())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("orderSeq", getOrderSeq())
            .append("domain", getDomain())
            .append("ipaddr", getIpaddr())
            .append("portNumber", getPortNumber())
            .append("masterUrl", getMasterUrl())
            .append("resoureceUrl", getResoureceUrl())
            .append("userDataUrl", getUserDataUrl())
            .append("checkVersion", getCheckVersion())
            .append("showColumns", getShowColumns())
            .append("showRows", getShowRows())
            .append("listImage", getListImage())
            .append("faceImage", getFaceImage())
            .append("publishDate", getPublishDate())
            .append("publishUserId", getPublishUserId())
            .append("publishStatus", getPublishStatus())
            .append("approvedStatus", getApprovedStatus())
            .append("approvedUserId", getApprovedUserId())
            .append("approvedExplain", getApprovedExplain())
            .append("approvedTime", getApprovedTime())
            .append("valid", getValid())
            .append("lock", getLock())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
